package com.miku.project.model.vo;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class OrderVo implements Serializable {
    private static final long serialVersionUID = -7340958009391771093L;
    @ApiModelProperty(value = "数据列表")
    private List<ProductOrderVo> records;
    @ApiModelProperty(value = "总数")
    private long total;
    @ApiModelProperty(value = "每页显示条数")
    private long size;
    @ApiModelProperty(value = "当前页")
    private long current;
    @ApiModelProperty(value = "是否为第一页")
    private List<OrderItem> orders;
    private boolean optimizeCountSql;
    private boolean searchCount;
    private boolean optimizeJoinOfCountSql;
    private String countId;
    private Long maxLimit;
}
